using B.S.Medical.Api.Read.DTOS;
using B.S.Medical.ErrorCode;
using MediatR;

namespace B.S.Medical.Api.Read.Application.Command.Patient
{
    /// <summary>
    /// 获取患者信息的命令
    /// </summary>
    public class GetPatientCommand : IRequest<ApiPageing<PatientDTO>>
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 10;
        /// <summary>
        /// 当前登录人Id
        /// </summary>
        public long AccountId { get; set; } = 0;
    }
} 